home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / science / cdrift3.zip / PARAMS.DOC < prev    next >
Text File  |  1990-02-22  |  5KB  |  95 lines

  1. If you give tec a filename as a command line argument, it will read 
  2. parameters from that file.  If you hand it '-' as an argument, it will
  3. read them from stdin.  For example, you could type "tec - < foo", or
  4. "tec foo".  The '-' option is handy for pipes.
  5.  
  6. The parameter file is optional; all of the parameters you can change
  7. have defaults.  Thus, the parameter file need contain only the parameters
  8. you want to change.  A parameter file looks like LISP; for example,
  9. to change the XSIZE parameter, the file would have the one line
  10.  
  11. (XSIZE 40)
  12.  
  13. Parameters can also be vectors; for example
  14.  
  15. (MOVERATE (1 1 1))
  16.  
  17. The parameters are either easy or hard.  This rating concerns how much
  18. you have to know about the simulation to change the parameters.  Easy
  19. ones just affect run time, resolution, and so on.  Hard ones should
  20. only be changed if you understand the code pretty well.
  21.  
  22. Easy parameters:
  23. DRAWMODE  - 0 produces no output, 1 produces a long text file (default),
  24.             2 produces a summary text file and 3 produces PostScript
  25.             grayscale drawings.
  26. DRAWEVERY - How many steps should be iterated for each output.  Default 1,
  27.             but this produces an awful lot of text.  Reasonable values
  28.             for non-interactive runs are 5 or 10.  Supercontinents appear
  29.             every 25 steps or so.
  30. MAXSTEP   - How many steps to run before terminating.  Default 100.
  31. XSIZE     - Horizontal size of arrays.  Default 90.  To produce summaries
  32.             that fit on a normal page, I used 72.
  33. YSIZE     - Vertical size of arrays.  Default 90.  To produce the summaries
  34.             included in tec.out.[1-3], I used 48.
  35. BLOBLEVEL - Indirectly related to size of initial supercontinent.  I made
  36.             some 4000 blobs with different values of BLOBLEVEL to come up
  37.             with this empirical relationship:  the average diameter of the
  38.             supercontinent is 83 - (0.625 * BLOBLEVEL).  The blob is
  39.             clipped to the size of the world and can not exceed a
  40.             diameter of 64 anyway.
  41.  
  42. So to produce a text file with 10 pictures, you could use 
  43.  
  44. (DRAWMODE 2) (DRAWEVERY 10) (XSIZE 72) (YSIZE 48) (BLOBLEVEL 80)
  45.  
  46. To produce a 20-page PostScript output with a little more detail, use
  47.  
  48. (DRAWMODE 3) (DRAWEVERY 5)
  49.  
  50. Hard Parameters:
  51. ZINIT     - Initial altitude of supercontinent.  Default 22.
  52. ZSUBSUME  - Altitude added to leading edge of drifting plate.  Default 16.
  53. ZCOAST    - Sea level.  Everything below this is under water.  Default 16.
  54. ZSHELF    - Minimum altitude for continental shelf.  Default 8.
  55. ZMOUNTAIN - Used in DRAWMODE 2; altitude above which a square is counted
  56.             as mountain instead of land.  Default 48.
  57. MAXBUMP   - If two plates overlap on more than this number of squares,
  58.             the plates must be merged together.  Default 50. 
  59. BUMPTOL   - If the relative velocity of two touching plates is less than this
  60.             value, the plates will be merged together.  Default 50.
  61. MOVERATE  - A vector of real numbers describing the rate at which plates
  62.             move apart, slow down, and then drift back together.  Each
  63.             plate has an age, measured in steps from its creation.  The age
  64.             is used as an offset into the vector.  The result is a real
  65.             between -1.0 and +1.0 which is multiplied by the plate's original
  66.             movement vector.  The default vector is
  67.  
  68.             (1.0 1.0 1.0 0.7 0.4 0.1 -0.2 -0.5 -0.8 -1.0)
  69.  
  70.             It can be interpreted this way.  The first three steps a plate is
  71.             in motion, it moves at its normal velocity.  During the 4-6
  72.             steps, it slows down.  During the 7-10 steps, it moves the
  73.             opposite way from the way it started, at increasing speeds.
  74.             Thereafter, it keeps moving at its final velocity.
  75. RIFTPCT   - Percent chance that a rift will occur in a given step.  Default 40.
  76. MAXCTRTRY - The number of tries the rift routine will make to find an
  77.             acceptable place to start a rift.  Default 50.
  78. RIFTDIST  - The minimum allowable distance between a proposed rift center
  79.             and the nearest coast.  Default 5.
  80. DOERODE   - Whether or not to compute erosion.  Default 1; if 0, the program
  81.             will run about twice as fast but will generate way too many
  82.             mountains, since the only thing that gets rid of mountains
  83.             is erosion.
  84. ERODERND  - The rounding factor used in erosion.  Default 4.  As this 
  85.             parameter goes from 0 to 7, erosion occurs faster.
  86. BENDEVERY - Each time a rift grows by this many squares, it is allowed to
  87.             bend a little bit.  Default 6.
  88. BENDBY    - When a rift bends, it bends by a random angle in the range
  89.             -BENDBY ... +BENDBY multiplied by pi/2000.  Default value is 100.
  90.             If BENDBY is too high or BENDEVERY is too low, very curvy rifts
  91.             will be generated, with unrealistic results.
  92. SPPEDBASE - The minimum speed at which new plates will travel.  Default 200.
  93. SPEEDRNG  - The actual speed at which a plate travels is SPEEDBASE +
  94.             rnd (SPEEDRNG).  Default value is 300.
  95.